'use strict'

module.exports = {
  publicPath: process.env.NODE_ENV === 'production' ? '' : '',
  productionSourceMap: false,
  lintOnSave: false,
  devServer: {
    port: 8082,
    proxy: {
      '/api': {
        target: 'https://www.exiushi.com/datacanvasapi',
        // target: process.env.VUE_APP_API_BASE_URL || 'https://www.exiushi.com/datacanvasapi',
        // target: 'http://192.168.1.197:8085',
        changeOrigin: true,
        ws: false,
        pathRewrite: {
          "^/api": ""
        }
      }
    }
  }
}
